<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:d="http://www.w3.org/1999/xhtml" version='1.0'>
 
<xsl:output method="html" indent="yes" encoding="UTF-8" />

<xsl:variable name="root" select="'http://www.yves-rocher.de'"/>

<xsl:template match="/">
	<table xmlns="">
		<xsl:variable name="tr" select="//d:tr[d:td[@class='presprod_image']]"/>
		<xsl:apply-templates select="$tr"/>
	</table>
</xsl:template>
  
<xsl:template match="d:tr">
	<xsl:variable name="img" select="concat($root ,d:td[@class='presprod_image']/d:a/d:img/@src)"/>
	<xsl:variable name="link" select="concat($root , d:td[@class='presprod_image']/d:a/@href)"/>
	<tr>
		<td>
			<a href="{$link}"><img src="{$img}"></img></a>
		</td>
		<td>
			
		</td>
		<td>
			<xsl:apply-templates select="d:td[@class='presprod reference']/d:span"/>
		</td>
	</tr>
</xsl:template>

<xsl:template match="d:span">
	<b class="{@class}"><xsl:value-of select="."/></b>
</xsl:template>

<xsl:template match="@*|node()" >
	<xsl:copy><xsl:apply-templates select="@*[name()!='xmlns']|node()"/></xsl:copy>
</xsl:template>

</xsl:stylesheet>